package com.itheima.test1;

import java.util.TreeSet;

public class Test {
    public static void main(String[] args) {

        //创建对象
        Student s1 = new Student("dahei", 80, 80, 80);
        Student s2 = new Student("xiaohei", 90, 90, 90);

        System.out.println(s1.hashCode());//189568618
        System.out.println(s1.hashCode());//189568618
        System.out.println(s2.hashCode());//793589513


    }
}
